package com.student.service;

import com.student.bean.HealthNews;
import com.student.bean.User;
import com.student.utils.AjaxResult;
import org.apache.ibatis.annotations.Param;

public interface AdminService {
    User selectUserByLoginName(@Param(value = "loginName") String loginName);

    void releaseNews(@Param(value = "news") HealthNews news);

    AjaxResult allnews();

    AjaxResult allUser(@Param("pageNum") Integer pageNum,@Param("pageSize") Integer pageSize);
}
